Time Zone

API support for this feature is supported only on FX series readers. Getting the Time zone list, current time zone and setting the time zone of the can be done using rm.TimeZone.GetTimeZoneList and rm.TimeZone.SetActive.

 

            try

            {

                // Get Reader TimeZone list

                string[] timeZoneList = rm.TimeZone.GetTimeZoneList(out activeTimeZoneIndex);

                if (timeZoneList != null)

                {

                    Console.WriteLine("Time Zone List");

                    for (int n = 0; n < timeZoneList.Length; n++)

                    {

                        Console.WriteLine(" " + timeZoneList[n]);

                    }

                    // current Reader TimeZone

                    Console.WriteLine(" Active Time Zone: " + timeZoneList[activeTimeZoneIndex]);

                    // Set new TimeZone

                    rm.TimeZone.SetActive(0);

                }

            }

            catch (OperationFailureException exception)

            {

                Console.WriteLine("testRM: GetTimeZoneList failed " + exception.Message);

            }